﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeBehind="Speakers.aspx.cs" Inherits="CodeCamp12.Speakers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">  
    <script src="Scripts/Speakers.js" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">
    <h2>Speakers for the current code camp event</h2>
    <div id="speakers">
        <script id="SpeakerTemplate" type="text/x-jQuery-tmpl">
        <div class='SpDiv'>
            <div class = "speakerImagePublic">
                <img src = 'GetImageForSpeaker.ashx?id=${ID}' width="130px" height="160px"/>
                <a href="GetFileForSpeaker.ashx?id=${ID}" class = "DownloadButtonPublic"> Download CV<img src="../images/icons/download.png" style="width:30px; height:25px; float:right;"/></a>            
            </div>
            
            <div class = "speakerDataPublic">
                <a class="lkName" href="${Link}" name="${FirstName} ${LastName}">${FirstName} ${LastName}</a>  
                <label style="font-style: italic">${ExpertIn}</label>
                <br /> ${Country},  ${CompanyName}
                <br/><br/>
                <div class="descrDivPublic">
                    {{html Description}}
                </div>         
           </div>
         </div>
   </script>
   </div> 
</asp:Content>
